#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <SDL/sdl.h>
#include "sprite.h"
#include "unit.h"
#include "map.h"
#include "tile.h"


Enumerations | |
| enum | e_panel_type |
| a panel type is the id of a bonus, malus, or disease. More... | |
Functions | |
| void | panel_draw (panel *p_panel, SDL_Surface *destination) |
| Draw the panel to the given surface. | |
| int | panel_add (panel **v_panel, map *p_map, int block_nb) |
| Add panel to the map. | |
| void | panel_apply (panel *p_panel, unit *p_unit) |
| apply the panel to a unit | |
| enum e_panel_type |
a panel type is the id of a bonus, malus, or disease.
| void panel_apply | ( | panel * | p_panel, | |
| unit * | p_unit | |||
| ) |
apply the panel to a unit
| void panel_draw | ( | panel * | p_panel, | |
| SDL_Surface * | destination | |||
| ) |
Draw the panel to the given surface.
1.5.4